<h1>{$smarty.get.action|capitalize} Link</h1>
<form action="{$smarty.server.PHP_SELF}?mod=links" method="post">
Name: <input type="text" name="title" value="{$data.title}" size="32" /><br />
URL: <input type="text" name="url" value="{if empty($data.url)}http://{else}{$data.url}{/if}" size="32" /><br />
Description: <input type="text" name="desc" value="{$data.desc}" size="32" /><br />
<input type="hidden" name="id" value="{$data.id}" />
<input type="submit" name="linkssubmit" value="Do it" />
</form>